//
//  UIImageView+Category.m
//  OralRobot
//
//  Created by 王桂敏 on 16/5/5.
//  Copyright © 2016年 wangguimin. All rights reserved.
//

#import "UIImageView+Category.h"

@implementation UIImageView (Category)

+ (UIImageView *)imageViewWithFrame:(CGRect)frame
                              image:(NSString *)imageName
{
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[Image(imageName) imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
    imageView.frame = frame;
    
    return imageView;
}

@end
